package com.yunxin.core.domain.model.team;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_team")
public class Team {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 团队名称
     */
    private String teamName;

    /**
     * 开启状态 1.开启 2.关闭
     */
    private Integer status;

    /**
     * 删除状态 1.正常 2.删除
     */
    private Integer isDel;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 商户id
     */
    private Long merchantId;

    @Schema(description = "关联微信企业id")
    @TableField(exist = false)
    private Long wechatInfoId;

    @Schema(description = "关联微信企业名称")
    @TableField(exist = false)
    private String corpName;


    @Schema(description = "是否绑定企微 1绑定 1否")
    @TableField(exist = false)
    private Integer bindingWechat;

}
